package com.zhuhaibaoxian.wanjiuseller.view.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.zhuhaibaoxian.wanjiuseller.R;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class MainActivity extends AppCompatActivity {

    @Bind(R.id.btn_wei)
    Button btnWei;
    @Bind(R.id.btn_yi)
    Button btnYi;
    @Bind(R.id.btn_liuyan)
    Button btnLiuyan;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.btn_wei, R.id.btn_yi,R.id.btn_liuyan})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.btn_wei:
                startActivity(new Intent(this, WeiWanChengActivity.class));
                break;
            case R.id.btn_yi:
                startActivity(new Intent(this, PaidListActivity.class));
                break;
            case R.id.btn_liuyan:
                startActivity(new Intent(this, RemarkActivity.class));
                break;
        }
    }
}
